package cn.changgou.search.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("search")
@RequestMapping("/search")
public interface SkuFeign {

    /*搜索*/
    @RequestMapping(method = RequestMethod.GET)
    public Map search(@RequestParam(required = false) Map<String, String> searchMap);

}
